package top.huxy.boot.service;

import top.huxy.boot.controller.admin.AdminBackgroundImageController;
import top.huxy.boot.model.entity.BackgroundImage;

import java.util.List;

/**
 * @author HuXY
 * @since 2022-01-06 10:01:16
 */
public interface BackgroundImageService {
    List<BackgroundImage> getBgList();

    void addBg(AdminBackgroundImageController.Bg bg);

    void delBg(String id);

    void updateBg(AdminBackgroundImageController.Bg bg);

    String getCurrentBg();

    void setCurrent(String id);
}
